﻿using System;
using Autodesk.Revit.DB;
using YArchitech.Revit;

namespace StairsModuleAndEdit.StairsModel.AddSigns
{
	internal class EscalatorPacker : PackerBase
	{
		internal EscalatorPacker()
		{
			this.UseIndex = 0;
		}

		protected override void MakeDicAddMore()
		{
			base.MakeDicAddMore();
			Parameter parameter = this.ThisFamilyInstance.GetParameter(StaticRescours.AddParamNameStairs[base.UseI][0]);
			Parameter parameter2 = this.ThisFamilyInstance.GetParameter(StaticRescours.AddParamNameStairs[base.UseI][1]);
			this.ListAddParamValues.Add((parameter.AsDouble() - parameter2.AsDouble()) / 2.0);
		}
	}
}
